package com.bnz.config;

import com.bnz.pojo.Student;
import com.bnz.pojo.Student2;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

// 相当于：applicationContext.xml文件
@Configuration
@EnableConfigurationProperties({Student2.class, Student.class})
public class MyConfig {


}
